
from datetime import *

start = datetime.now()

sum = 0
for item in range(100000):
    sum += item
print(sum)

end = datetime.now()
m = end - start

print(f"程序执行完毕，耗时：{m.total_seconds()}")